package com.steam.xbcc.service;

import com.steam.xbcc.domain.UserIntegral;
import com.baomidou.mybatisplus.service.IService;
import com.steam.xbcc.dto.IntegralDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wt
 * @since 2022-10-07
 */
public interface IUserIntegralService extends IService<UserIntegral> {

    void integralFromRegister(Long userId);

    void integralFromReferBuysCourses(IntegralDto dto);

    void integralFromBuysCourses(IntegralDto dto);

    void integralFromRecharge(IntegralDto dto);

    UserIntegral getUserIntegral(Long id);

    void integralDeduction(IntegralDto dto);

}
